 |
API Documentation
|
|
|
13 class Matrix :
public ByteAlignedClass<16>
37 Matrix (
float m00,
float m01,
float m10,
float m11) ;
54 Matrix (
float m00,
float m01,
float m02,
float m10,
float m11,
float m12,
float m20,
float m21,
float m22) ;
77 Matrix (
float m00,
float m01,
float m02,
float m03,
float m10,
float m11,
float m12,
float m13,
float m20,
float m21,
float m22,
float m23,
float m30,
float m31,
float m32,
float m33) ;
130 float get (
unsigned int row,
unsigned int col)
const ;
141 void set (
float val,
unsigned int row,
unsigned int col) ;
float getTraceMat4() const
bool operator!=(const Matrix &other)
Matrix getInverseMat3() const
void getDecomposed(Vector &position, Quaternion &orientation, Vector &scale)
void setScaleComponent(const Vector &scale)
void setPositionComponent(const Vector &position)
Matrix getInverseMat4() const
Matrix operator*(const Matrix &other) const
Encompasses all API of component NilkinsMaths.
Definition: IntVector.h:7
void setToTransformation(const Vector &position, const Quaternion &orientation, const Vector &scale)
void setToViewMatrixDirection(const Vector &position, const Vector &direction, const Vector &upDirection)
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:14
float getTraceMat3() const
void setToOrthographicMatrix(float widthNearPlane, float heightNearPlane, float nearVal, float farVal)
float _m[4][4]
The matrix memory, considered in row-major order (_m[row][col]).
Definition: Matrix.h:17
Represents a 4x4 float matrix.
Definition: Matrix.h:14
void operator-=(const Matrix &other)
Vector getScaleComponent() const
bool operator==(const Matrix &other)
void operator/=(float scalar)
float getDeterminantMat3() const
Matrix(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
Matrix(float m00, float m01, float m10, float m11)
float getDeterminantMat4() const
void set(float val, unsigned int row, unsigned int col)
float getDeterminantMat2() const
Matrix operator+(const Matrix &other) const
Matrix operator-(const Matrix &other) const
void setOrientationComponent(const Quaternion &rot)
void fromString(const std::string_view &str)
Matrix(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
Matrix getOrientationComponent() const
Matrix & operator=(const Matrix &other)
Matrix(const Matrix &other)
Vector getPositionComponent() const
void operator*=(const Matrix &other)
A 4-component vector class, with floats.
Definition: Vector.h:12
void setToPerspectiveMatrix(float fov, float aspect, float nearVal, float farVal)
float get(unsigned int row, unsigned int col) const
Matrix getTranspose() const
Matrix operator/(float scalar) const
Matrix getInverseMat2() const
void operator+=(const Matrix &other)